package com.aysafety.iotdataplatformweb.dao;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @program: iotDataPlatform
 * @description: 电
 * @author: ChengQi
 * @create: 2019-02-14 11:28
 **/
@Mapper
@Repository
public interface ElectromagneticDao {


    /**
    * @Description: 实时电磁强度数量
    * @Param: [params] 
    * @return: long 
    * @Author: ChengQi 
    * @Date: 2019/2/14 
    */ 
    long countByElectromagneticIntensity(Map<String,Object> params);

    /**
    * @Description: 实时电磁强度
    * @Param: [params]
    * @return: long
    * @Author: ChengQi
    * @Date: 2019/2/14
    */
    List<Map<String,Object>> queryRealTimeByElectromagneticIntensity(Map<String,Object> params);

    /**
     * @Description: 实时电磁脉冲强度数量
     * @Param: [params]
     * @return: long
     * @Author: ChengQi
     * @Date: 2019/2/14
     */
    long countByElectromagneticPulse(Map<String,Object> params);

    /**
     * @Description: 实时电磁脉冲强度
     * @Param: [params]
     * @return: long
     * @Author: ChengQi
     * @Date: 2019/2/14
     */
    List<Map<String,Object>> queryRealTimeByElectromagneticPulse(Map<String,Object> params);


    List<Map<String, Object>> queryCal(Map<String, Object> parram);
}
